package com.jlu.yygh.service.impl;

import com.jlu.yygh.service.MsmService;
import com.jlu.yygh.vo.msm.MsmVo;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

@Service
public class MsmServiceImpl implements MsmService {

  @Override
  public boolean send(String phone, String code) {
    //判断手机号是否为空
    if(StringUtils.isEmpty(phone)) {
      return false;
    }
    return true;
  }

//  @Override
//  public boolean send(MsmVo msmVo) {
//    if(!StringUtils.isEmpty(msmVo.getPhone())) {
//
//      System.out.println("预约成功");
//      return this.send(msmVo.getPhone(),"123456");
//    }
//    return false;
//  }
}
